﻿using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UMLSynthesizer.LangAnalyzer.Statements;

namespace UMLSynthesizer.CSharpAnalyzer.Statements
{
    class CSharpCaseLabel : CSharpStatementBase, ICaseLabel
    {
        #region Field

        SwitchLabelSyntax label;

        #endregion

        #region Constructors

        public CSharpCaseLabel(GotoStatementSyntax statementNode, IStatementBase parentStatement)
            : base(statementNode, parentStatement, null, StatementKinds.Case) { }
        public CSharpCaseLabel(SwitchLabelSyntax label, IStatementBase parentStatement)
            : base(null, parentStatement, null, StatementKinds.Case)
        { this.label = label; }

        #endregion
    }
}
